#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      Student
#
# Created:     04/07/2012
# Copyright:   (c) Student 2012
# Licence:     <your licence>
#-------------------------------------------------------------------------------
import random

class Card:
    def __init__(self, suit, value):
        self.suit= suit
        self.value= value


def main():
    suits=["Clubs", "Diamond", "Hearts", "Spades"]
    values=[]
    for i in range(2,11):
        values.append(str(i))
    faces=['Jack', 'Queen', 'King', 'Ace']
    values.extend(faces)
    deck=[]
    for x in suits:
        for y in values:
            card= Card (x, y)
            deck.append(card)
    random.shuffle(deck)
    print((deck[1].value+" of " + deck[1].suit))


if __name__ == '__main__':
    main()
